package cn.sherer.beans.weixin;

import java.util.List;
import java.util.ArrayList;
import java.io.Serializable;

/**
 * 企业微信客服菜单消息
 * https://developer.work.weixin.qq.com/document/path/94670#%E8%8F%9C%E5%8D%95%E6%B6%88%E6%81%AF
 */
public class WxKfMsgMenuItem implements Serializable {
    private String head_content;
    private List<WxKfMsgMenuSubitem> list;
    private String tail_content;

    public WxKfMsgMenuItem() {
    }

    public String getHead_content() {
        return head_content;
    }

    public void setHead_content(String head_content) {
        this.head_content = head_content;
    }

    public List<WxKfMsgMenuSubitem> getList() {
        return list == null ? new ArrayList<>() : list;
    }

    public void setList(List<WxKfMsgMenuSubitem> list) {
        this.list = list;
    }

    public String getTail_content() {
        return tail_content;
    }

    public void setTail_content(String tail_content) {
        this.tail_content = tail_content;
    }

    @Override
    public String toString() {
        return "WxKfMsgMenuItem{" + "head_content=" + head_content + ", list=" + list + ", tail_content=" + tail_content + "}";
    }
}
